Optimal. Leaf size=304 \[ -\frac{a^4 \sqrt{a^2+2 a b x+b^2 x^2} (a B+5 A b)}{8 x^8 (a+b x)}-\frac{5 a^3 b \sqrt{a^2+2 a b x+b^2 x^2} (a B+2 A b)}{7 x^7 (a+b x)}-\frac{5 a^2 b^2 \sqrt{a^2+2 a b x+b^2 x^2} (a B+A b)}{3 x^6 (a+b x)}-\frac{a b^3 \sqrt{a^2+2 a b x+b^2 x^2} (2 a B+A b)}{x^5 (a+b x)}-\frac{b^4 \sqrt{a^2+2 a b x+b^2 x^2} (5 a B+A b)}{4 x^4 (a+b x)}-\frac{a^5 A \sqrt{a^2+2 a b x+b^2 x^2}}{9 x^9 (a+b x)}-\frac{b^5 B \sqrt{a^2+2 a b x+b^2 x^2}}{3 x^3 (a+b x)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.11693, antiderivative size = 304, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.069, Rules used = {770, 76} \[ -\frac{a^4 \sqrt{a^2+2 a b x+b^2 x^2} (a B+5 A b)}{8 x^8 (a+b x)}-\frac{5 a^3 b \sqrt{a^2+2 a b x+b^2 x^2} (a B+2 A b)}{7 x^7 (a+b x)}-\frac{5 a^2 b^2 \sqrt{a^2+2 a b x+b^2 x^2} (a B+A b)}{3 x^6 (a+b x)}-\frac{a b^3 \sqrt{a^2+2 a b x+b^2 x^2} (2 a B+A b)}{x^5 (a+b x)}-\frac{b^4 \sqrt{a^2+2 a b x+b^2 x^2} (5 a B+A b)}{4 x^4 (a+b x)}-\frac{a^5 A \sqrt{a^2+2 a b x+b^2 x^2}}{9 x^9 (a+b x)}-\frac{b^5 B \sqrt{a^2+2 a b x+b^2 x^2}}{3 x^3 (a+b x)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 770
Rule 76
Rubi steps
\begin{align*} \int \frac{(A+B x) \left (a^2+2 a b x+b^2 x^2\right )^{5/2}}{x^{10}} \, dx &=\frac{\sqrt{a^2+2 a b x+b^2 x^2} \int \frac{\left (a b+b^2 x\right )^5 (A+B x)}{x^{10}} \, dx}{b^4 \left (a b+b^2 x\right )}\\ &=\frac{\sqrt{a^2+2 a b x+b^2 x^2} \int \left (\frac{a^5 A b^5}{x^{10}}+\frac{a^4 b^5 (5 A b+a B)}{x^9}+\frac{5 a^3 b^6 (2 A b+a B)}{x^8}+\frac{10 a^2 b^7 (A b+a B)}{x^7}+\frac{5 a b^8 (A b+2 a B)}{x^6}+\frac{b^9 (A b+5 a B)}{x^5}+\frac{b^{10} B}{x^4}\right ) \, dx}{b^4 \left (a b+b^2 x\right )}\\ &=-\frac{a^5 A \sqrt{a^2+2 a b x+b^2 x^2}}{9 x^9 (a+b x)}-\frac{a^4 (5 A b+a B) \sqrt{a^2+2 a b x+b^2 x^2}}{8 x^8 (a+b x)}-\frac{5 a^3 b (2 A b+a B) \sqrt{a^2+2 a b x+b^2 x^2}}{7 x^7 (a+b x)}-\frac{5 a^2 b^2 (A b+a B) \sqrt{a^2+2 a b x+b^2 x^2}}{3 x^6 (a+b x)}-\frac{a b^3 (A b+2 a B) \sqrt{a^2+2 a b x+b^2 x^2}}{x^5 (a+b x)}-\frac{b^4 (A b+5 a B) \sqrt{a^2+2 a b x+b^2 x^2}}{4 x^4 (a+b x)}-\frac{b^5 B \sqrt{a^2+2 a b x+b^2 x^2}}{3 x^3 (a+b x)}\\ \end{align*}
Mathematica [A] time = 0.0413283, size = 125, normalized size = 0.41 \[ -\frac{\sqrt{(a+b x)^2} \left (120 a^3 b^2 x^2 (6 A+7 B x)+168 a^2 b^3 x^3 (5 A+6 B x)+45 a^4 b x (7 A+8 B x)+7 a^5 (8 A+9 B x)+126 a b^4 x^4 (4 A+5 B x)+42 b^5 x^5 (3 A+4 B x)\right )}{504 x^9 (a+b x)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.007, size = 140, normalized size = 0.5 \begin{align*} -{\frac{168\,B{b}^{5}{x}^{6}+126\,A{x}^{5}{b}^{5}+630\,B{x}^{5}a{b}^{4}+504\,A{x}^{4}a{b}^{4}+1008\,B{x}^{4}{a}^{2}{b}^{3}+840\,A{x}^{3}{a}^{2}{b}^{3}+840\,B{x}^{3}{a}^{3}{b}^{2}+720\,A{x}^{2}{a}^{3}{b}^{2}+360\,B{x}^{2}{a}^{4}b+315\,A{a}^{4}bx+63\,B{a}^{5}x+56\,A{a}^{5}}{504\,{x}^{9} \left ( bx+a \right ) ^{5}} \left ( \left ( bx+a \right ) ^{2} \right ) ^{{\frac{5}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.58019, size = 267, normalized size = 0.88 \begin{align*} -\frac{168 \, B b^{5} x^{6} + 56 \, A a^{5} + 126 \,{\left (5 \, B a b^{4} + A b^{5}\right )} x^{5} + 504 \,{\left (2 \, B a^{2} b^{3} + A a b^{4}\right )} x^{4} + 840 \,{\left (B a^{3} b^{2} + A a^{2} b^{3}\right )} x^{3} + 360 \,{\left (B a^{4} b + 2 \, A a^{3} b^{2}\right )} x^{2} + 63 \,{\left (B a^{5} + 5 \, A a^{4} b\right )} x}{504 \, x^{9}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (A + B x\right ) \left (\left (a + b x\right )^{2}\right )^{\frac{5}{2}}}{x^{10}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.17211, size = 298, normalized size = 0.98 \begin{align*} -\frac{{\left (3 \, B a b^{8} - A b^{9}\right )} \mathrm{sgn}\left (b x + a\right )}{504 \, a^{4}} - \frac{168 \, B b^{5} x^{6} \mathrm{sgn}\left (b x + a\right ) + 630 \, B a b^{4} x^{5} \mathrm{sgn}\left (b x + a\right ) + 126 \, A b^{5} x^{5} \mathrm{sgn}\left (b x + a\right ) + 1008 \, B a^{2} b^{3} x^{4} \mathrm{sgn}\left (b x + a\right ) + 504 \, A a b^{4} x^{4} \mathrm{sgn}\left (b x + a\right ) + 840 \, B a^{3} b^{2} x^{3} \mathrm{sgn}\left (b x + a\right ) + 840 \, A a^{2} b^{3} x^{3} \mathrm{sgn}\left (b x + a\right ) + 360 \, B a^{4} b x^{2} \mathrm{sgn}\left (b x + a\right ) + 720 \, A a^{3} b^{2} x^{2} \mathrm{sgn}\left (b x + a\right ) + 63 \, B a^{5} x \mathrm{sgn}\left (b x + a\right ) + 315 \, A a^{4} b x \mathrm{sgn}\left (b x + a\right ) + 56 \, A a^{5} \mathrm{sgn}\left (b x + a\right )}{504 \, x^{9}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]